package com.nowcoder.community.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * @ClassName TestJob
 * @Description
 * @Author hhwu
 * @Date 2022/6/1 17:50
 * Version 1.0
 **/
public class TestJob implements Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        /**
         * @Author hhwu
         * @Description //TODO 定义一个简单的逻辑，在config中进行配置（detail和trigger）
         * @Date 20:41 2022/6/1
         * @Param [context]
         * @return void
         **/
        System.out.println(Thread.currentThread().getName() + ": execute a quartz job.");
    }
}
